<%@ include file="/common/taglibs.jsp"%>

<c:if test="${pageContext.request.locale.language != 'en'}">
    <a href="<c:url value='/?locale=en'/>"><fmt:message key="webapp.en"/></a>
</c:if>
<c:if test="${pageContext.request.locale.language != 'zh'}">
    <a href="<c:url value='/?locale=zh'/>"><fmt:message key="webapp.zh"/></a>
</c:if>
<c:if test="${pageContext.request.locale.language != 'zh_TW'}">
    <a href="<c:url value='/?locale=zh_TW'/>"><fmt:message key="webapp.zh_TW"/></a>
</c:if>
<c:if test="${pageContext.request.locale.language != 'zh_CN'}">
    <a href="<c:url value='/?locale=zh_CN'/>"><fmt:message key="webapp.zh_CN"/></a>
</c:if>

<div id="branding">
    <h1><a href="<c:url value="/"/>"><fmt:message key="webapp.name"/></a></h1>
    <p>Providing integration and style to open source Java.</p>
</div>
<hr />

<%-- Put constants into request scope --%>
<EnglishRepository:constants scope="request"/>
